package com.oceansoft.mobile.biz.front.entity;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

public class AwardMapper implements RowMapper<Award> {
	public Award mapRow(ResultSet rs, int rowIndex) throws SQLException {
		Award award = new Award();
		award.setSid(rs.getInt("sid"));
		award.setAward_type(rs.getInt("award_type"));
		award.setStatus(rs.getInt("status"));
		return award;
	}

}
